package Interface

//据点建筑物的接口
type IStronghold interface {
	BuyUnit(unitId int32,unitType int32) bool
	BuyInfantry(unitId int32) bool
	BuyArcher(unitId int32) bool
	Level() int32
	UpLevel() bool
	Occupy() bool
	CancelOccupy(unitId int32)
	Id() int32
	Bar() int32
	SetBar(bar int32)
	OccupyUnitId() int32
	SetOccupyUnitId(occupyUnitId int32)
	Pop() int32
	SetPop(pop int32)
	Status() int32
	SetStatus(status int32)
	Player() IPlayer
	OccupyPlayer() IPlayer
	SetOccupyPlayer(occupyPlayer IPlayer)
	BuyBoss(unitId int32) bool
	MoneyAdd() int32
	MagicAdd() int32
	ReCalculate()
	UpdateLand(landId int32,landType int32)
}
